<?php
/* @var $this TestactivityController */
/* @var $model Testactivity */
/* @var $form CActiveForm */
?>
<div id="update_form">
<!-- form start -->

<div class="zyWell">Fields with<span class="required">*</span>are required.</div>

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'testactivity-form',
	'enableAjaxValidation'=>false,
)); ?>
<?php echo $form->errorSummary($model); ?>

	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'classify_id'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'classify_id'); ?>
						<?php echo $form->error($model,'classify_id'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'activity_code'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'activity_code',array('size'=>50,'maxlength'=>50)); ?>
						<?php echo $form->error($model,'activity_code'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'title'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'title',array('size'=>60,'maxlength'=>300)); ?>
						<?php echo $form->error($model,'title'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'activity_time'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'activity_time',array('size'=>24,'maxlength'=>24)); ?>
						<?php echo $form->error($model,'activity_time'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'provide_gift_number'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'provide_gift_number'); ?>
						<?php echo $form->error($model,'provide_gift_number'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'Used_gift_number'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'Used_gift_number'); ?>
						<?php echo $form->error($model,'Used_gift_number'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'user_id'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'user_id'); ?>
						<?php echo $form->error($model,'user_id'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'activity_out_time'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'activity_out_time',array('size'=>50,'maxlength'=>50)); ?>
						<?php echo $form->error($model,'activity_out_time'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'address1'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'address1',array('size'=>60,'maxlength'=>200)); ?>
						<?php echo $form->error($model,'address1'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'address2'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'address2',array('size'=>60,'maxlength'=>200)); ?>
						<?php echo $form->error($model,'address2'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'address3'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'address3',array('size'=>60,'maxlength'=>200)); ?>
						<?php echo $form->error($model,'address3'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'bak1'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'bak1',array('size'=>60,'maxlength'=>400)); ?>
						<?php echo $form->error($model,'bak1'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'bak2'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'bak2',array('size'=>60,'maxlength'=>400)); ?>
						<?php echo $form->error($model,'bak2'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'is_delete'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'is_delete'); ?>
						<?php echo $form->error($model,'is_delete'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'crate_time'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'crate_time'); ?>
						<?php echo $form->error($model,'crate_time'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'crate_user'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'crate_user',array('size'=>50,'maxlength'=>50)); ?>
						<?php echo $form->error($model,'crate_user'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'update_time'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'update_time'); ?>
						<?php echo $form->error($model,'update_time'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'update_user'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'update_user',array('size'=>50,'maxlength'=>50)); ?>
						<?php echo $form->error($model,'update_user'); ?>
					</div>
			</div>
		</div>
	</div>
<div class="form-actions row-fluid">
	<div class="span7 offset3">
		<?php echo CHtml::submitButton($model->isNewRecord ? Yii::t("common","Create") : Yii::t("common","Save"),array('class'=>'btn btn-large btn-block')); ?>
	</div>
</div>
<?php $this->endWidget(); ?>
</div>
<!-- form -->